package com.cloud.elm.feign.callback;

import com.cloud.elm.feign.DaFeignClient;
import com.cloud.elm.po.DeliveryAddress;
import com.cloud.elm.utils.response.CodeEnum;
import com.cloud.elm.utils.response.ResultBody;
import org.springframework.stereotype.Component;

@Component
public class DaFeignClientCallback implements DaFeignClient {

    @Override
    public ResultBody<DeliveryAddress> getDeliveryAddressById(Integer daId) {
        return new ResultBody<>(CodeEnum.CALLBACK.getResultCode(), CodeEnum.CALLBACK.getResultMsg(), null);
    }
}
